home *** CD-ROM | disk | FTP | other *** search
Wrap
REPLACE Replaces old-text with new-text starting from the position indicated by the argument start-num and continuing for the number of characters specified in the argument num-chars. Format: REPLACE (old-text, start-num, num-chars, new-text) Arguments: ΓÇó old-text: A text expression. ΓÇó start-num: A number indicating the starting position in old-text. ΓÇó num-chars: A number indicating the number of characters to replace. ΓÇó new-text: A text expression. Example: REPLACE ("my father", 4, 2, "bro") returns "my brother." Shows that replacing text in the text phrase "my father", starting with the fourth character and continuing for two characters, returns "my brother".